package com.zytlifeservice.enums;

/**
 * Created by MJS on 2017/4/22.
 */
public enum ResultEnum {
    UNKOWN_ERROR(-1,"未知--错误"),
    NOT_EXIT_ERROR(100,"用户名或者密码不存在")
    ;
    private int code;
    private String message;

    ResultEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
